#ifndef __COMM_H__
#define __COMM_H__
#include "apphead.h"

typedef enum
{
	Debug_FixData = 1,
	Debug_RtData
}DebugTypeDef;

void debug_printf(char *debug,int type);

int msget_method(const char *funname);

void set_gpio_pin(int pin,int dat);

void thread_mux_init(pthread_mutex_t *mux);

#endif

